package com.cy.ppj.service.account;

import com.cy.ppj.model.PageBean;
import com.cy.ppj.model.query.account.TeamMemberQuery;
import com.cy.ppj.model.vo.admin.teamcommission.TeamMemberAdminVO;
import com.cy.ppj.model.vo.admin.teamcommission.TeamMemberCountStatisticsVO;
import com.cy.ppj.model.vo.front.account.MyTeamStatisticsVO;
import com.cy.ppj.model.vo.front.account.MyTeamVO;
import com.cy.ppj.model.vo.front.account.TeamMemberVO;

public interface TeamCommissionService {

    PageBean<TeamMemberVO> queryTeamMembers(TeamMemberQuery query);

    MyTeamVO queryMyTeamInfo(Long userId);

	MyTeamVO queryMyTeamInfo2(Long userId);

    MyTeamStatisticsVO queryMyTeamStatistics(Long userId, Integer type);

    /**
     * 后台-团队（邀请人数）列表
     * 
     * @param query
     * @return
     */
	PageBean<TeamMemberAdminVO> selectTeamMemberAdmin(TeamMemberQuery query);

	/**
	 * 经纪人的团队人数统计
	 * 
	 * @param userId
	 * @return
	 */
	TeamMemberCountStatisticsVO myTeamMembersCountStatistics(Long userId);

}
